<%@ page import="sige.Pagamento" %>

<div class="control-group" >
	 <label  class="control-label" for="valor">
		<g:message code="pagamento.valor.label" default="Valor" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:field name="valor" value="${fieldValue(bean: pagamentoInstance, field: 'valor')}" required=""/>
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="dataDeVencimento">
		<g:message code="pagamento.dataDeVencimento.label" default="Data De Vencimento" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:datePicker name="dataDeVencimento" precision="day"  value="${pagamentoInstance?.dataDeVencimento}"  />
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="caixaDiario">
		<g:message code="pagamento.caixaDiario.label" default="Caixa Diario" />
		
	</label> 
 	 <div class="controls"> 
	<g:select id="caixaDiario" name="caixaDiario.id" from="${sige.CaixaDiario.list()}" optionKey="id" value="${pagamentoInstance?.caixaDiario?.id}" class="many-to-one" noSelection="['null': '']"/>
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="multa">
		<g:message code="pagamento.multa.label" default="Multa" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:field name="multa" value="${fieldValue(bean: pagamentoInstance, field: 'multa')}" required=""/>
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="desconto">
		<g:message code="pagamento.desconto.label" default="Desconto" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:field name="desconto" value="${fieldValue(bean: pagamentoInstance, field: 'desconto')}" required=""/>
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="total">
		<g:message code="pagamento.total.label" default="Total" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:field name="total" value="${fieldValue(bean: pagamentoInstance, field: 'total')}" required=""/>
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="dataDePagamento">
		<g:message code="pagamento.dataDePagamento.label" default="Data De Pagamento" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:datePicker name="dataDePagamento" precision="day"  value="${pagamentoInstance?.dataDePagamento}"  />
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="movimentacao">
		<g:message code="pagamento.movimentacao.label" default="Movimentacao" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:select id="movimentacao" name="movimentacao.id" from="${sige.MovimentacaoFinanceira.list()}" optionKey="id" required="" value="${pagamentoInstance?.movimentacao?.id}" class="many-to-one"/>
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="pago">
		<g:message code="pagamento.pago.label" default="Pago" />
		
	</label> 
 	 <div class="controls"> 
	<g:checkBox name="pago" value="${pagamentoInstance?.pago}" />
	 </div> 
 </div>

<div class="control-group" >
	 <label  class="control-label" for="usuario">
		<g:message code="pagamento.usuario.label" default="Usuario" />
		<span class="required-indicator">*</span>
	</label> 
 	 <div class="controls"> 
	<g:select id="usuario" name="usuario.id" from="${sige.Usuario.list()}" optionKey="id" required="" value="${pagamentoInstance?.usuario?.id}" class="many-to-one"/>
	 </div> 
 </div>

